#ifndef MAINMENU_H
#define MAINMENU_H

#include <QMenuBar>

/*!
 * \brief The MainMenu class provides the main menu of the main window.
 */
class MainMenu : public QMenuBar
{
public:
    typedef enum
    {
        File,
        Edit,
        View,
        Compile,
        Simulate,
        Tools,
        Help,
        MenuCount
    } Menu;
    explicit MainMenu(QWidget *parent = nullptr);

private slots:
    void retranslate();

private:
    QMenu *m_menu[MenuCount];
};

#endif // MAINMENU_H
